function   getUrlParam(name){   
          var   reg   =   new   RegExp("(^|&)"+   name   +"=([^&]*)(&|$)");   
          var   r   =   window.location.search.substr(1).match(reg);   
          if   (r!=null)   return   unescape(r[2]);   return   1;   
      }  


function window_onload() 
{				

    var uid=getUrlParam("id");
	if(uid==1)
                  {
                        menu_linksActive0(home2,as1);
                     
                  }

if(uid==2)
                  {
                        menu_linksActive0(home3,as2);

                  }

if(uid==3)
                  {
                        menu_linksActive0(home4,as3);

                  }
if(uid==4)
                  {
                        menu_linksActive0(home5,as4);
                  }
if(uid==5)
                  {
                        menu_linksActive0(home6,as5);
                  }
if(uid==6)
                  {
                        menu_linksActive0(home7,as6);
                  }	
if(uid==7)
                  {
                        menu_linksActive0(home8,as7);
                  }
if(uid==8)
                  {
                        menu_linksActive0(home9,as8);
                  }
if(uid==9)
                  {
                        menu_linksActive0(home10,as9);
                  }
if(uid==10)
                  {
                        menu_linksActive0(home11,as10);
                  }
if(uid==11)
                  {
                        menu_linksActive0(home12,as11);
                  }
}


var bs;
var as;
function menu_linksActive0(odjs,aas)
{
 bs=odjs;
 as=aas;

      home2.className='';
      home3.className='';
      home4.className=''; 
      home5.className=''; 
      home6.className=''; 
      home7.className=''; 
      home8.className=''; 
      home9.className=''; 
      home10.className=''; 
      home11.className=''; 
      home12.className=''; 
	
	  
           as.className='menu_linksActive';  

}
